﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ui="clr-namespace:PokemonBattleOnline.PBO.Elements"
                    xmlns:c="clr-namespace:PokemonBattleOnline.PBO.Converters">
    <DataTemplate x:Key="AbilityLabel">
        <TextBlock Text="{Binding Converter={x:Static c:AbilityString.C}}">
            <TextBlock.ToolTip>
                <ToolTip Content="{Binding Converter={x:Static c:AbilityDString.C}}"/>
            </TextBlock.ToolTip>
        </TextBlock>
        <DataTemplate.Triggers>
            <DataTrigger Binding="{Binding}" Value="0">
                <Setter Property="Visibility" Value="Collapsed"/>
            </DataTrigger>
        </DataTemplate.Triggers>
    </DataTemplate>
</ResourceDictionary>